package io.geekidea.boot.util.dingtalk;

import io.swagger.v3.oas.annotations.media.Schema;
import java.io.Serializable;
import lombok.Data;

@Data
public class ApiResult<T> implements Serializable {

  @Schema(description = "响应编码 200：成功，500：失败")
  private int errcode;

  @Schema(description = "响应消息")
  private String errmsg;

  @Schema(description = "请求ID")
  private String request_id;

  @Schema(description = "响应结果数据")
  private T result;
}
